﻿<%
class ActionHome
	private sub Class_Initialize()
	
	end sub
	public sub index
		Mo.assign "appname","MoAspEnginer"
		Mo.assign "birthday",#1986-9-1 12:23:34#
		Mo.assign "address","杭州"
		Mo.assign "list",Array("a","2","v","f","sds","cghf")
		Mo.assign "args","<span style=""color:red"">我是变量参数！</span>"
		Mo.display "index"
	end sub
	public sub clearcache
		Mo.assign "ClearCompiledCache",Mo.ClearCompiledCache()
		Mo.assign "ClearModelCache",Mo.ModelCacheClear()
		Mo.assign "ClearLibraryCache",Mo.ClearLibraryCache()
		Mo.display "cache"
		Mo.ClearCompiledCache()
		Mo.ModelCacheClear()
		Mo.ClearLibraryCache()
	end sub
	public sub sessioncode
		Randomize()
		dim sessionkey:sessionkey = 1000 + int(rnd() *8999)
		Mo("SafeCode").Code sessionkey
	end sub
	public sub [empty](a)
		F.echo "默认页面：" & a
	end sub
end class
%>